package com.stedu.service;

import com.stedu.bean.RepairPersonnel;
import com.stedu.exception.SteduException;

import java.util.List;

public interface RepairPersonnelService {
    List<RepairPersonnel> selectByPname(String pname) throws SteduException;
    //添加
    boolean insert(RepairPersonnel p) throws SteduException;
    //删除
    boolean delete(Integer pid) throws SteduException;
    //修改
    boolean update(RepairPersonnel p) throws SteduException;
    //根据id查询
    RepairPersonnel selectByPid(Integer pid);
    //查询所有
    List<RepairPersonnel> selectAll();
}
